﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Logs
{
    class ConsoleHelper
    {
        private static bool output = false;

        public static void isOutput(bool value)
        {
            output = value;
        }

        public static void Writeline(string format, params object[] values)
        {
            if (output)
                Console.WriteLine(string.Format(format, values));
        }
    }
}
